if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_ChiTietNhapXuat_DeleteByMaPhieuNhapXuat]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_ChiTietNhapXuat_DeleteByMaPhieuNhapXuat]
GO
CREATE PROC [sp_ChiTietNhapXuat_DeleteByMaPhieuNhapXuat](
	@Ma_phieu_nhap_xuat				int
)
AS
BEGIN
	DELETE FROM ChiTietNhapXuat WHERE Ma_phieu_nhap_xuat = @Ma_phieu_nhap_xuat
END
